﻿/*
 * I welcome any suggestions as to how to make this better. Reach out any time, and if you need help
 * with a task or building a program check out my gig on Fiverr, http://fiverr.com/sablair/write-a-windows-desktop-application-in-c-sharp
 */

using System;
using System.Collections.Generic;

namespace EDIDPull
{
    class Program
    {
        static void Main(string[] args)
        {            
            Console.WriteLine("Pulling EDID data...");
            Console.WriteLine("-----------------------------------------------------");
            List<ScreenInformation> sil = EDIDUtil.GetEDID();
            foreach (var item in sil)
            {
                Console.WriteLine("Manufacturer: {0};\tModel: {1}", item.Manufacturer, item.Model);
                Console.WriteLine();
                Console.WriteLine("EDID: {0}", item.FullEDID);
                Console.WriteLine("-----------------------------------------------------");
            }
            Console.WriteLine("Done");
            Console.ReadKey();
        }
    }
}
